package com.yilin.tms.core.entity.data.document;

import com.baomidou.mybatisplus.annotation.TableName;
import com.yilin.tms.core.commons.base.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 帮助文档资源
 *
 * @author zhangjinyuan
 * @date 2023/08/07  11:01
 */
@Entity
@Table(name = "data_document_resource")
@TableName("data_document_resource")
public class DocumentResource extends BaseEntity {

    //所属目录
    @Column(name = "document_id")
    private String documentId;

    //资源
    @Column(name = "resource", columnDefinition = "MEDIUMTEXT")
    private String resource;

    public String getResource() {
        return resource;
    }

    public void setResource(String resource) {
        this.resource = resource;
    }

    public String getDocumentId() {
        return documentId;
    }

    public void setDocumentId(String documentId) {
        this.documentId = documentId;
    }
}
